package Graphics;

import java.awt.AlphaComposite;
import java.awt.Color;
import java.awt.Composite;
import java.awt.Container;
import java.awt.Font;
import java.awt.Graphics;
import java.awt.Graphics2D;
import java.awt.RenderingHints;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.geom.Rectangle2D;

import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.JPanel;

public class Practice {

      /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        JFrame mainFrame = new JFrame("practice graphics");
        mainFrame.setSize(600, 600); //size varies
        //add code for top-level object
        mainFrame.setVisible(true);
        DrawingPanel dp = new DrawingPanel(20,30, 10, 10);
        //DrawingPanel dp2 = new DrawingPanel(400,400,10,-10);
        mainFrame.add(dp);
        //mainFrame.add(dp2);
        MyTimer time = new MyTimer(dp);
        //MyTimer time2 = new MyTimer(dp2);
        time.start();
        //time2.start();
    }





}